<div id="login">
    <h2>Đăng nhập!</h2>
    <?php echo $this->Form->create('User', array('controller' => 'users', 'action' => 'login')); ?>
    <table>
        <tr>
            <td colspan="2"><?php echo $session->flash('auth'); ?></td>
        </tr>
        <tr>
            <td class="col1">Tên đăng nhập:</td>
            <td class="col2"><?php echo $this->Form->input('User.username', array('label' => false)); ?></td>
        </tr>

        <tr>
            <td class="col1">Mật mã:</td>
            <td class="col2"><?php echo $this->Form->input('User.password', array('label' => false)); ?></td>
        </tr>

        <tr>
            <td class="col1">&nbsp</td>
            <td class="col2"><?php echo $this->Form->button('Đăng nhập', array('type' => 'submit')); ?></td>
        </tr>

        <tr>
            <td class="col1">&nbsp</td>
            <td class="col2"><a href="#">Quên mật mã?</a>
                <div id="forgot-password" style="display:none;">
                    <input class="textfield" name="" type="text" value="Your email" /> <input class="button" type="button" value="OK" />
                </div>
            </td>
        </tr>
    </table>
    <?php echo $this->Form->end(); ?>
</div>